﻿<%@ page language="java" import="java.util.*" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.text.*"%>
<%@ page import="com.daowen.bll.*"%>
<%@ page import="com.daowen.entity.*" %>
<%@page import="com.daowen.dal.DALBase"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="web" uri="/WEB-INF/webcontrol.tld"%>
<%@ include file="law.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
 <head>
  <title>卡片管理</title>
  
   <link rel="stylesheet" href="<%=SystemParam.getSiteRoot() %>/e/css/index.css" type="text/css"></link>
    <link rel="stylesheet" href="<%=SystemParam.getSiteRoot() %>/e/css/box.all.css" type="text/css"></link>
    
    <script type="text/javascript" src="<%=SystemParam.getSiteRoot() %>/webui/jquery/jquery-1.8.3.min.js"></script>
     <link href="<%=SystemParam.getSiteRoot() %>/webui/artDialog/skins/default.css" rel="stylesheet" type="text/css" />
    <script src="<%=SystemParam.getSiteRoot() %>/webui/artDialog/jquery.artDialog.source.js" type="text/javascript"></script>
    <script src="<%=SystemParam.getSiteRoot() %>/webui/artDialog/iframeTools.source.js" type="text/javascript"></script>
    <script  type="text/javascript" src="<%=SystemParam.getSiteRoot() %>/webui/jquery/jquery.validate.min.js"></script>
    <script type="text/javascript"  src="<%=SystemParam.getSiteRoot() %>/webui/jquery/jquery.validateex.js" ></script>
    <script type="text/javascript"  src="<%=SystemParam.getSiteRoot() %>/webui/jquery/jquery.metadata.js" ></script>
    <script type="text/javascript"  src="<%=SystemParam.getSiteRoot() %>/webui/jquery/messages_cn.js" ></script>
	    <link href="<%=SystemParam.getSiteRoot() %>/webui/easydropdown/themes/easydropdown.css" rel="stylesheet" type="text/css" />
    <script src="<%=SystemParam.getSiteRoot() %>/webui/easydropdown/jquery.easydropdown.js" type="text/javascript"></script>    
    <link href="<%=SystemParam.getSiteRoot() %>/uploadifyv3.1/uploadify.css" rel="stylesheet" type="text/css" />
    <script src="<%=SystemParam.getSiteRoot() %>/uploadifyv3.1/jquery.uploadify-3.1.js" type="text/javascript"></script>
    <script type="text/javascript" src="<%=SystemParam.getSiteRoot() %>/editor/kindeditor-min.js"></script>
    <script type="text/javascript" src="<%=SystemParam.getSiteRoot() %>/editor/lang/zh_CN.js"></script>
    <link rel="stylesheet" href="<%=SystemParam.getSiteRoot() %>/webui/jqueryui/themes/base/jquery.ui.all.css" type="text/css"></link>
    <script type="text/javascript" src="<%=SystemParam.getSiteRoot() %>/webui/jqueryui/ui/jquery-ui.js"></script>
    <script type="text/javascript" src="<%=SystemParam.getSiteRoot() %>/webui/jqueryui/ui/i18n/jquery.ui.datepicker-zh-CN.js"></script>
    <script src="<%=SystemParam.getSiteRoot() %>/webui/jqueryui/ui/jquery-ui-timepicker-addon.js" type="text/javascript"></script>
     <link href="<%=SystemParam.getSiteRoot() %>/admin/css/web2table.css" rel="stylesheet" type="text/css" />
   <script type="text/javascript">
        function initControl(){
        }
        $(function ()
        {
            initControl();
            $.metadata.setType("attr","validate");
            $("#bankcardForm").validate();
        });  
    </script>
</head>
<body>
	<jsp:include page="head.jsp"></jsp:include>

	<div class="wrap">
		<div class="cover-title">
			当前位置：<a href="index.jsp">首页</a> &gt;&gt; 新增银行卡
		</div>
	</div>


	<div class="fn-clear"></div>

		<div class="wrap">
		
		   <div class="main">
		   
		       <jsp:include  page="menu.jsp"></jsp:include>
		       <div class="main-content">
	<form name="bankcardform" method="post"
		action="<%=SystemParam.getSiteRoot()%>/admin/bankcardmanager.do"
		id="bankcardForm">
		<table class="grid" cellspacing="1" width="100%">
			<input type="hidden" name="id" value="${id}" />
			<input type="hidden" name="actiontype" value="${actiontype}" />
			<input type="hidden" name="seedid" value="${seedid}" />
			<input name="khid" placeholder="客户编号"
				validate="{required:true,messages:{required:'请输入客户编号'}}"
				value="${huiyuan.id}"  type="hidden" />
			<input name="khrname" placeholder="开户行姓名"
				validate="{required:true,messages:{required:'开户行人姓名'}}"
				value="${huiyuan.name}"  type="hidden" />
			<input name="khridcardno" placeholder="开户行人身份证"
				validate="{required:true,messages:{required:'开户行人姓名'}}"
				value="${huiyuan.idcardno}"  type="hidden" />
				
			<input type="hidden" name="errorurl" value="/e/huiyuan/bankcardadd.jsp" />
			<input type="hidden" name="forwardurl"
				value="/admin/bankcardmanager.do?actiontype=get&khaccount=${huiyuan.mobile}&khid=${huiyuan.id}&forwardurl=/e/huiyuan/bankcardmanager.jsp" />
			<tr>
				<td colspan="4">${errormsg}</td>
			</tr>

			<tr>
				<td width="120px;" align="right">持卡人姓名:</td>
				<td width="*">${huiyuan.name}</td>
			</tr>
			<tr>
				<td align="right">身份证号:</td>
				<td>${huiyuan.idcardno}</td>
			</tr>
			<tr>
				<td align="right">卡号:</td>
				<td><input name="cardno" placeholder="卡号"
					validate="{required:true,messages:{required:'请输入卡号'}}"
					value="${requestScope.bankcard.cardno}" class="input-txt"
					type="text" id="txtCardno" /></td>
			</tr>
			<tr>
				<td align="right">银行:</td>
				<td>

				      <input type="radio" name="bankname" value="中国工商银行"  checked="checked" />中国工商银行
				       <input type="radio" name="bankname" value="中国农业银行"   />中国农业银行
				       <input type="radio" name="bankname" value="中国建设银行"   />中国建设银行
				        <input type="radio" name="bankname" value="中国银行"   />中国银行
				         <input type="radio" name="bankname" value="招商银行"   />招商银行
				
				</td>
			</tr>

			<tr>
				<td colspan="4">

					<button class="btn btn-default">添加银行卡</button>

				</td>
			</tr>
		</table>



	</form>

   </div>
   
   </div>

</body>
</html>
